package com.example.service.impl;

import com.example.entity.Sample;
import com.example.mapper.SampleMapper;
import com.example.service.ISampleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dengc
 * @since 2023-05-10
 */
@Service
public class SampleServiceImpl extends ServiceImpl<SampleMapper, Sample> implements ISampleService {

    @Resource
    private SampleMapper sampleMapper;
    @Override
    public List<Sample> getSampleCount() {
        return sampleMapper.getSampleCount();
    }
}
